package com.shy.delegate.committee;

import com.shy.delegate.committee.student.Monitor;
import com.shy.delegate.committee.teacher.Teacher;

public class TestMain {
    public static void main(String[] args) {
        Teacher teacher = new Teacher(new Monitor());
        teacher.command("学习委员");
        teacher.command("劳动委员");
        teacher.command("文艺委员");
    }
}
